﻿<% 
_out.targetFile =  util.format('%s\\Infrastructure\\PetaPoco\\%s\\%sDynamicQueryService.cs', serverProjectDirectory, aggregate.plural, aggregate.singular); 
_out.cover = false;
%>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Happy.Infrastructure.PetaPoco;
using <%= rootNamespace %>.Query.<%= aggregate.plural %>;

namespace <%= rootNamespace %>.Infrastructure.PetaPoco.<%= aggregate.plural %>
{
    internal sealed partial class <%= aggregate.singular %>DynamicQueryService : PetaPocoDynamicQueryService, I<%= aggregate.singular %>DynamicQueryService
    {
        public <%= aggregate.singular %>DynamicQueryService() :
            base("<%= module %>UnitOfWork", "<%= aggregate.name %>")
        {
        }
    }
}